#network {
  width: 100%;
  height: 90vh;
  border: 1px solid #ccc;
  position: relative;
}
#toolbar {
  padding: 8px;
}
/* 统一隐藏元素，无论其原始 display */
.hidden {
  display: none !important;
}
#detail {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  padding: 12px;
  border: 1px solid #888;
  border-radius: 4px;
  max-width: 250px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#modalBackdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
#modal {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  width: 300px;
}
#modal input {
  width: 100%;
  margin-bottom: 8px;
  padding: 6px;
  box-sizing: border-box;
}
#modal button { margin-right: 8px; }
#modal input[type=file] { margin-bottom:8px; } 
#hiddenFile.hidden { display:none !important; } 
#uploadBackdrop {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;}
#uploadModal {background:#fff;padding:20px;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.3);width:320px;}
#uploadModal input,#uploadModal select {width:100%;margin-bottom:8px;padding:6px;box-sizing:border-box;} 